// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_REP_PRODUCT_TECHINIC
// * CreateDate    : 2014-06-05 18:30:33
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:33
// * LastChanger   : 2014-06-05 18:30:33
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class RepProductTechinicTable : TableInfo
    {
		public const string C_TableName = "REP_PRODUCT_TECHINIC";
		
		public const string C_REP_PRODUCT_TECHNIC_ID = "REP_PRODUCT_TECHNIC_ID";
		public const string C_REP_ORDER_ITEM_ID = "REP_ORDER_ITEM_ID";
		public const string C_TECHNIC_ID = "TECHNIC_ID";
		public const string C_SEQUENCE = "SEQUENCE";
		public const string C_WORKING_GROUP = "WORKING_GROUP";
		public const string C_WORKING_PERSON = "WORKING_PERSON";
		public const string C_REQUIRED_FINISHED_DATE = "REQUIRED_FINISHED_DATE";
		
		public RepProductTechinicTable()
        {
            _tableName = "REP_PRODUCT_TECHINIC";
        }
		
		protected static RepProductTechinicTable _current;
        public static RepProductTechinicTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new RepProductTechinicTable();

            _current.Add(C_REP_PRODUCT_TECHNIC_ID, new ColumnInfo(C_REP_PRODUCT_TECHNIC_ID,"RepProductTechnicId", true, typeof(string)));
            _current.Add(C_REP_ORDER_ITEM_ID, new ColumnInfo(C_REP_ORDER_ITEM_ID,"RepOrderItemId", false, typeof(string)));
            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID,"TechnicId", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE,"Sequence", false, typeof(int)));
            _current.Add(C_WORKING_GROUP, new ColumnInfo(C_WORKING_GROUP,"WorkingGroup", false, typeof(string)));
            _current.Add(C_WORKING_PERSON, new ColumnInfo(C_WORKING_PERSON,"WorkingPerson", false, typeof(string)));
            _current.Add(C_REQUIRED_FINISHED_DATE, new ColumnInfo(C_REQUIRED_FINISHED_DATE,"RequiredFinishedDate", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo REP_PRODUCT_TECHNIC_ID
        {
            get { return this[C_REP_PRODUCT_TECHNIC_ID]; }
        }
		
		public ColumnInfo REP_ORDER_ITEM_ID
        {
            get { return this[C_REP_ORDER_ITEM_ID]; }
        }
		
		public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }
		
		public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }
		
		public ColumnInfo WORKING_GROUP
        {
            get { return this[C_WORKING_GROUP]; }
        }
		
		public ColumnInfo WORKING_PERSON
        {
            get { return this[C_WORKING_PERSON]; }
        }
		
		public ColumnInfo REQUIRED_FINISHED_DATE
        {
            get { return this[C_REQUIRED_FINISHED_DATE]; }
        }
		
		
		
	}
}

